<?php if($this->params->view_content != null): ?>

<div <?php if ($this->params->id != "") echo 'id="' . $this->params->id . '"'; ?> class="wrapper<?php echo $this->params->css_suffix; ?>">
	<?php if ($this->params->draw_background): ?>
	<div class="bg">
	<?php endif; ?>
	<?php if ($this->params->draw_borders): ?>
	<div class="t"><div class="b"><div class="l"><div class="r">
	<?php endif; ?>
	<?php if ($this->params->draw_corners): ?>
	<div class="bl"><div class="br"><div class="tl"><div class="tr">
	<?php endif; ?>
	<div class="content">
<?php $this->params->view_content->render(); ?>
	</div>
	<?php if ($this->params->draw_corners): ?>
	</div></div></div></div>
	<?php endif; ?>
	<?php if ($this->params->draw_borders): ?>
	</div></div></div></div>
	<?php endif; ?>
	<?php if ($this->params->draw_background): ?>
	</div>
	<?php endif; ?>
</div>

<?php endif; ?>
